package com.ys.day32.p2注解的深入应用;

import java.lang.annotation.*;

/**
 * 描述: 忽略属性的注解
 *
 * @author CodeYang
 * @version 2021/1/18 17:49
 */
@Target({ElementType.FIELD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface JSONIgnore {


    /**
     * 忽略注解: 默认是false
     * @return
     */
    boolean isIgnore() default  false;
}
